<?php
class fireigniter {
    /**
    * Constructor
    */
    function __construct() {
        //-- Load CodeIgniter Resources
        $CI =& get_instance();

        //-- Check Configuration
		$CI->load->config('fireignition');
        if ($CI->config->item('fireignition_enabled') == true) {
            //-- Load FirePHP
            $CI->load->library('firephp-0.3.2/firephp');
        }
        else {
            //-- Load Fake FirePHP, an empty class and name instance 'firephp' instead of 'firephp_fake'
            $CI->load->library('firephp-0.3.2/firephp_fake', 'firephp');
        }
    }
}//END class

